import React, { Component } from 'react'
import styles from "./SearchIput.module.scss"
import {withRouter} from "react-router-dom"
 class SearchIput extends Component {
    render() {
        return (
            <div className={styles.searchInput} onClick={()=>{
                console.log(11);
                this.props.history.push("searchCenter")
            }}>
                <div className={styles.searchInputContent}>搜索</div>
            </div>
        )
    }
}
export default withRouter(SearchIput)